<?php
@include("../../inc/header.php");

/*
		SoftName : EmpireBak
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

E_D("DROP TABLE IF EXISTS `phome_enewsbqtemp`;");
E_C("CREATE TABLE `phome_enewsbqtemp` (
  `tempid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `tempname` varchar(60) NOT NULL DEFAULT '',
  `modid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `temptext` text NOT NULL,
  `showdate` varchar(50) NOT NULL DEFAULT '',
  `listvar` text NOT NULL,
  `subnews` smallint(5) unsigned NOT NULL DEFAULT '0',
  `rownum` smallint(5) unsigned NOT NULL DEFAULT '0',
  `classid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `docode` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`tempid`),
  KEY `classid` (`classid`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8");
E_D("replace into `phome_enewsbqtemp` values('1','子栏目导航标签模板','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<li classid=\\\\\"[!--classid--]\\\\\"><a href=\\\\\"[!--classurl--]\\\\\">[!--classname--]</a></li>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('2','首页新闻调用','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<div class=\\\\\"D_news_left_body clear\\\\\">\r\n				<div class=\\\\\"D_news_left_img\\\\\">\r\n					<a href=\\\\\"[!--titleurl--]\\\\\">\r\n						<img src=\\\\\"[!--titlepic--]\\\\\" alt=\\\\\"\\\\\">\r\n					</a>\r\n				</div>\r\n				<div class=\\\\\"D_news_left_text\\\\\">\r\n					<span class=\\\\\"span1\\\\\">\r\n						<a href=\\\\\"[!--titleurl--]\\\\\">[!--title--]</a>\r\n					</span>\r\n					<span class=\\\\\"span2\\\\\">[!--smalltext--]...</span>\r\n					<span class=\\\\\"span3\\\\\">\r\n						<a href=\\\\\"[!--titleurl--]\\\\\">查看详情</a>\r\n					</span>\r\n				</div>\r\n			</div>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('3','友情链接','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','m-d','<li><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\" target=\\\\\"_blank\\\\\">[!--title--]</a></li>','60','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('4','标题+时间','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d','<li><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\">[!--title--]</a><span>[!--newstime--]</span></li>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('5','图片+标题+简介','1','[!--empirenews.listtemp--]\r\n<!--list.var1-->\r\n[!--empirenews.listtemp--]','Y-m-d H:i:s','<table width=\\\\\"94%\\\\\" border=\\\\\"0\\\\\" align=\\\\\"center\\\\\" cellpadding=\\\\\"0\\\\\" cellspacing=\\\\\"6\\\\\" class=\\\\\"picText\\\\\">\r\n<tr valign=\\\\\"top\\\\\">\r\n<td><a href=\\\\\"[!--titleurl--]\\\\\" target=\\\\\"_blank\\\\\"><img width=\\\\\"70\\\\\" height=\\\\\"78\\\\\" src=\\\\\"[!--titlepic--]\\\\\" alt=\\\\\"[!--oldtitle--]\\\\\" /></a></td>\r\n<td><strong><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\">[!--title--]</a></strong>[!--smalltext--]</td>\r\n</tr>\r\n</table>','56','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('7','循环子栏目标签','1','<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"title\">\r\n<tr>\r\n<td><strong>[!--the.classname--]</strong></td>\r\n<td align=\"right\"><a href=\"[!--the.classurl--]\">更多&gt;&gt;</a></td>\r\n</tr>\r\n</table>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"box\">\r\n<tr>\r\n<td><ul>\r\n       [!--empirenews.listtemp--]\r\n       <!--list.var1-->\r\n       [!--empirenews.listtemp--]\r\n</ul>\r\n</td>\r\n</tr>\r\n</table>','Y-m-d','<li><a href=\"[!--titleurl--]\" title=\"[!--oldtitle--]\">[!--title--]</a> <span>[!--newstime--]</span></li>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('8','头条标题','1','[!--empirenews.listtemp--]\r\n<!--list.var1-->\r\n[!--empirenews.listtemp--]','Y-m-d H:i:s','<strong><a href=\"[!--titleurl--]\">[!--title--]</a></strong>\r\n<p>　　[!--smalltext--]</p>','150','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('10','排行列表','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<li class=\"no[!--no.num--]\"><a href=\"[!--titleurl--]\" title=\"[!--oldtitle--]\">[!--title--]</a></li>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('11','太湖分校首页头条','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<a href=\\\\\"[!--titleurl--]\\\\\"><img src=\\\\\"[!--titlepic--]\\\\\" alt=\\\\\"\\\\\"/></a>\r\n<div>[!--smalltext--]</div>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('12','太湖分校首页公告','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','\$listtemp=\\\\''<li>\r\n							<div>\r\n								<span>\\\\''.date(\\\\\"d\\\\\",\$r[newstime]).\\\\''</span>\r\n								<span>\\\\''.date(\\\\\"Y-m\\\\\",\$r[newstime]).\\\\''</span>\r\n							</div>\r\n							<a href=\\\\\"[!--titleurl--]\\\\\" class=\\\\\"xyzx_c_r_c_fa\\\\\">[!--title--]</a>\r\n							<p>[!--smalltext--]</p>\r\n							<a href=\\\\\"[!--titleurl--]\\\\\">详细内容&gt;&gt;</a>\r\n						</li>\\\\'';','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('13','导航二级','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<dd><a href=\\\\\"[!--classurl--]\\\\\">[!--classname--]</a></dd>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('14','首页集团故事','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<div class=\\\\\"D_news_right_body clear\\\\\">\r\n				<span class=\\\\\"span1\\\\\">\r\n					<a href=\\\\\"[!--titleurl--]\\\\\">[!--title--]</a>\r\n				</span>\r\n				<span class=\\\\\"span2\\\\\">[!--smalltext--]</span>\r\n			</div>\r\n','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('15','城中分校左侧分类','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<li><a href=\\\\\"[!--classurl--]\\\\\"><span>[!--classname--]</span></a></li>\r\n','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('16','城中分校首页类别调用','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d H:i:s','<li><a href=\\\\\"[!--classurl--]\\\\\" target=\\\\\"_blank\\\\\">[!--classname--]</a></li>\r\n','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('17','爱德实时关注','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d','<li class=\\\\\"clear\\\\\"><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\">[!--title--]</a><span>[!--newstime--]</span></li>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('18','爱德实时关注推荐','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d','<div><a href=\\\\\"[!--titleurl--]\\\\\"><img src=\\\\\"[!--titlepic--]\\\\\" width=\\\\\"310\\\\\" height=\\\\\"145\\\\\"></a>\r\n						<div>\r\n							<a href=\\\\\"[!--titleurl--]\\\\\">[!--title--]</a>\r\n							<span>[!--smalltext--]...</span>\r\n						</div>\r\n					</div>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('19','爱德首页图片+简介','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d','<img src=\\\\\"[!--titlepic--]\\\\\" alt=\\\\\"\\\\\">\r\n<a href=\\\\\"[!--titleurl--]\\\\\">[!--title--]</a>\r\n<p>[!--smalltext--]</p>','0','1','0','0');");
E_D("replace into `phome_enewsbqtemp` values('20','爱德首页点亮德育','1','[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]','Y-m-d','<li><a href=\\\\\"[!--titleurl--]\\\\\" title=\\\\\"[!--oldtitle--]\\\\\">[!--title--]</a><span>[!--smalltext--]</span></li>','0','1','0','0');");

@include("../../inc/footer.php");
?>